﻿using System.Collections.Generic;
using System.ServiceModel;
using ClimateControl.Infrastructure;
using ClimateControl.Infrastructure.Service;

namespace ClimateControl.Infrastructure.Service
{
    [ServiceContract]
    public interface IClimateManager : IClimateShared
    {
        #region Service Methods

        [OperationContract]
        void SetIsAirConOn(bool isAirConOn);

        [OperationContract]
        void SetTemperature(int temperature);

        [OperationContract]
        void SetVoteExpiry(int voteExpiry);

        [OperationContract]
        void SetVoteFrequency(double voteFrequency);

        [OperationContract]
        void SetIsBigFanOn(bool isBigFanOn);

        [OperationContract]
        void SetUpdateFrequency(int updateFrequency);
       
        [OperationContract]
        void ResetVotes();

        #endregion Service Methods
    }
}
